package com.jiai.cloud.community.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-06-07
 */
@TableName("t_topic")
public class TTopic extends Model<TTopic> {

    private static final long serialVersionUID = 1L;

    /**
     * 话题编号id
     */
	@TableId(value="classifyId", type= IdType.AUTO)
	private Integer id;
    /**
     * 话题标题
     */
	private String title;
    /**
     * 话题图片
     */
	private String print;
    /**
     *话题内容
     */
	private String body;
    /**
     * 发布时间
     */
	private Date time;
    /**
     * 话题分类信息表
     */
	private Integer ClassifyId;
    /**
     * 话题置顶
     */
	private Integer Stick;
    /**
     * 精品话题
     */
	private Integer Boutique;
    /**
     * 图片轮播
     */
	private String banner;
    /**
     * 话题赞
     */
	private Integer praise;
    /**
     * 模版表id
     */
	private Integer templateId;

	/**
	 * 会员id
	 */
	private Integer memberId;


	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPrint() {
		return print;
	}

	public void setPrint(String print) {
		this.print = print;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getClassifyId() {
		return ClassifyId;
	}

	public void setClassifyId(Integer ClassifyId) {
		this.ClassifyId = ClassifyId;
	}

	public Integer getStick() {
		return Stick;
	}

	public void setStick(Integer Stick) {
		this.Stick = Stick;
	}

	public Integer getBoutique() {
		return Boutique;
	}

	public void setBoutique(Integer Boutique) {
		this.Boutique = Boutique;
	}

	public String getBanner() {
		return banner;
	}

	public void setBanner(String banner) {
		this.banner = banner;
	}

	public Integer getPraise() {
		return praise;
	}

	public void setPraise(Integer praise) {
		this.praise = praise;
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
